export class RiskMeiModel {
    public assessmentCode: string;
    public betaFactor: number;
    public comments: RiskMeiCommentModel;
    public exposure: number;
    public externalId: number;
    public finalBetaFactor?: number;
    public finalWeight: number;
    public indicators: RiskIndicatorModel[];
    public isMain: boolean;
    public manageableRisk: number;
    public managedRisk: number;
    public management: number;
    public name: string;
    public narrative: string;
    public riskRating: number;
    public subindustryExposureScore: number;
    public subIndustryAverageExposure: number;
    public subIndustryAverageManagement: number;
    public type: string;
    public unmanagedRisk: number;
}

class RiskMeiCommentModel {
    public analyst: string;
    public exposure: string;
    public management: string;
    public analystViewManagementAssessment: string;
    public analystViewExposureAssessment: string;
}

class RiskIndicatorModel {
    public category: number;
    public code: string;
    public finalWeight: number;
    public indicatorType: number;
    public name: string;
    public rawScore: number;
    public weightInMei: number;
    public weightedScore: number;
    public weightedScoreInMei?: number;
    public isMain?: boolean;
}